#include <stdio.h>
#include <iostream>
using namespace std;

int main()
{
    unsigned long lNum = 2014;
    char buf[1024];
    sprintf(buf, "lNum = %u(0X%X)", lNum, lNum);
    cout << buf << endl;
    getchar();
    return 0;
}
